#include "intro.h"
#include "ui_intro.h"

intro::intro(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::intro)
{
    ui->setupUi(this);
}


intro::~intro()
{
    delete ui;
}

void intro::on_pushButton_clicked()
{
    a= new mymusic;
    a->show();
}

void intro::on_pushButton_2_clicked()
{
    a= new mymusic;
    a->show();
}
void intro::paintEvent(QPaintEvent *event)
{

    QStyleOption opt;
    opt.initFrom(this);
    QPainter p(this);
    style()->drawPrimitive(QStyle::PE_Widget,&opt,&p,this);
}
